#include "headers.h"

main()
{
struct linerec
   {
    char label[9];
    char opcode[7];
    char operand[19];
    int address;
   } l;
FILE *f;
f=fopen("temp.int","r");
while (!feof(f))
{
 fread(&l,sizeof(l),1,f);
 cout<<l.label<<l.opcode<<l.operand<<l.address<<"\n";
 getch();
}
fclose(f);
}